package test.mp.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @ClassName Address
 * @Description 地址
 * @Author wxx
 * @Date 2024/08/24/17:41
 * @Version 1.0
 */
@Data
@TableName("address_mp")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Address {

    /**
     * id
     */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String town;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 邮编
     */
    private String street;

    /**
     * 联系人
     */
    private String contact;

    /**
     * 默认地址
     */
    private String isDefault;

    /**
     * 备注
     */
    private String notes;

    /**
     * 逻辑是否删除
     */
    private String deleted;
}
